
using System;
using ELE.EnterpriseLibrary.Common.Logging;

namespace ELE.EnterpriseLibrary.Test 
{
	/// <summary>
	/// Summary description for AspectLogger.
	///
	/// Author: Miguel Curi
	///
	/// </summary>
	public class AspectLogger : LoggingObjectBase
	{
		public AspectLogger()
		{
		}
    /// <summary>
    /// Method called when a method for which an aspect is to be injected is ran.
    /// </summary>
    /// <param name="a"></param>
    /// <param name="b"></param>
    public void LogAction(int a, int b)
    {
      Console.WriteLine("LogAction from Aspect on inputs {0} and {1}", a, b);
      this.LogDebug(string.Format("LogAction from Aspect on inputs {0} and {1}", a, b));
    }
	}
}
